#!/bin/bash

for infile in "$@"; do
  if test -z "$infile"; then
    echo "!! WARNING: empty arg encountered! Continuing..."
  fi
  echo "rotating 90 degrees clockwise: '$infile'"
  rot90 "$infile"
done
